﻿using System;
using System.Data;

namespace WinFormClient
{
    public class MultiColumnsPKParameters:DataObject
    {
        public MultiColumnsPKParameters(string tableName,string pkName, ColumnMapCollection col)
            : base(tableName, tableName + "By" + pkName,"Parameters", 50000,false, col)
        {
        }

        public override void Builder()
        {
            string content
            = this.Header("")
            + this.Fields()
            + this.Structure()
            + this.Property()
            + this.Footer();

            Tools.TextSaveToFile(content, "Parameters", this._className + ".cs");
        }
    }
}
